package com.dtagri.fjwlw.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * TjUsers entity. @author MyEclipse Persistence Tools
 */
public class TjUsersEntity implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name;
	private String username;
	private Integer gender;
	private Integer used;
	private String password;
	private String mobile;
	private String companyName;
	private String serverIp = "117.27.143.84:80";
	private int state;//状态（调试模式）
	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	private List<TjMenu> tjMenus = new ArrayList<TjMenu>();

	public List<TjMenu> getTjMenus() {
		return tjMenus;
	}
	
	public void setTjMenus(List<TjMenu> tjMenus) {
		this.tjMenus = tjMenus;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	private Integer roleid;
	private Integer times;
	private Date lasttime;
	private Integer companyId;

	public Integer getCompany_id() {
		return company_id;
	}

	public void setCompany_id(Integer company_id) {
		this.company_id = company_id;
	}

	private Integer company_id;
	private String nvrid;
	private String ssid;
	private String tempid;
	private byte[] photo;
	private String createtime;
	private String regionId;

	public Integer getDefault() {
		return default_;
	}

	public void setDefault(Integer default_) {
		this.default_ = default_;
	}

	private Integer default_;
	private List<TjCompanyRegion> tjCompanyRegions = new ArrayList<TjCompanyRegion>();

	// Constructors

	public List<TjCompanyRegion> getTjCompanyRegions() {
		return tjCompanyRegions;
	}

	public void setTjCompanyRegions(List<TjCompanyRegion> tjCompanyRegions) {
		this.tjCompanyRegions = tjCompanyRegions;
	}

	public String getRegionId() {
		return regionId;
	}

	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}

	/** default constructor */
	public TjUsersEntity() {
	}

	/** full constructor */
	public TjUsersEntity(String name, String username, Integer gender,
			Integer used, String password, String mobile, Integer roleid,
			Integer times, Date lasttime, Integer companyId, String nvrid,
			String ssid, String tempid, byte[] photo, String createtime) {
		this.name = name;
		this.username = username;
		this.gender = gender;
		this.used = used;
		this.password = password;
		this.mobile = mobile;
		this.roleid = roleid;
		this.times = times;
		this.lasttime = lasttime;
		this.companyId = companyId;
		this.nvrid = nvrid;
		this.ssid = ssid;
		this.tempid = tempid;
		this.photo = photo;
		this.createtime = createtime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Integer getUsed() {
		return used;
	}

	public void setUsed(Integer used) {
		this.used = used;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Integer getRoleid() {
		return roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public Integer getTimes() {
		return times;
	}

	public void setTimes(Integer times) {
		this.times = times;
	}

	public Date getLasttime() {
		return lasttime;
	}

	public void setLasttime(Date lasttime) {
		this.lasttime = lasttime;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getNvrid() {
		return nvrid;
	}

	public void setNvrid(String nvrid) {
		this.nvrid = nvrid;
	}

	public String getSsid() {
		return ssid;
	}

	public void setSsid(String ssid) {
		this.ssid = ssid;
	}

	public String getTempid() {
		return tempid;
	}

	public void setTempid(String tempid) {
		this.tempid = tempid;
	}

	public byte[] getPhoto() {
		return photo;
	}

	public void setPhoto(byte[] photo) {
		this.photo = photo;
	}

	public String getServerIp() {
		return serverIp;
	}

	public void setServerIp(String serverIp) {
		this.serverIp = serverIp;
	}

}
